/**
 * Created by wanghongxiang on 2018/5/21.
 */
import {high} from 'nc-lightapp-front';

const {Refer} = high;

export default function (props = {}) {
    var conf = { multiLang: { domainName: 'hrhi', currentLocale: 'zh-CN',  moduleId: 'refer6007'},
        refType: 'gridTree',
        refName: 'hi6007-000009',/* 国际化处理： 人员*/
        placeholder: 'hi6007-000009',/* 国际化处理： 人员*/
        refCode: 'hrhi.refer.PsndocMulTreeGridRef',
        queryTreeUrl: '/nccloud/hrhi/ref/AdminOrgTreeRef.do',
        queryGridUrl: '/nccloud/hrhi/ref/PsndocMulAdminGridRef.do',
        rootNode: {refname: 'hi6007-000010', refpk: 'root', isleaf: false},/* 国际化处理： 组织部门*/
        columnConfig: [{
            name: ['hi6007-000004', 'hi6007-000005', 'hi6007-000006', 'hi6007-000007', 'hi6007-000008', 'hi6007-000011', 'hi6007-000012', 'hi6007-000013'],/* 国际化处理： 人员编码,姓名,组织,部门,岗位,人员类别,任职类型,任职结束*/
            code: ['refcode', 'refname', 'org_orgs.name', 'org_dept.name', 'om_post.postname', 'bd_psncl.name', 'bd_defdoc.name', 'endflag']
        }],
        isMultiSelectedEnabled: false,
    };

    return <Refer {...Object.assign(conf, props)} />
}
